<%@ Page Language="C#" validateRequest="false" %>
<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
	{
        if (!string.IsNullOrEmpty(Request["mn"]) && !string.IsNullOrEmpty(Request["an"]))
        {
            string affirmNo = BLF.WWW_User.Users.User.GetActiveAccount(Request["mn"]);
            if (!string.IsNullOrEmpty(affirmNo)&&Request["an"] == Lx.Web.Common.UI.Globals.Enctype(affirmNo))
            {
                Model.CommonMessage comMes = BLF.WWW_User.Users.User.UpdateActiveAccount(Request["mn"]);
                if (comMes.State)
                {
                    Response.Redirect("/user/login.htm?ActiveAccount=1");
                    return;
                }
            }
            else
            {
                Page.Response.Write(Lx.Web.Common.Resource.GetText(Lx.Web.Common.UI.Globals.Language, "UR104"));
                Response.End();
                return;
            }
        }
        else {
            Response.End();
            return;
        }
		base.OnLoad (e);
	}
</script>